package com.teemor.common.kafka.fc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @Description:
 * @author zhoulk
 * @date: 2020/3/19
 */
@FeignClient(value = "blog")
public interface IBlogFc {

    @RequestMapping(value = "/common/addIprecord", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    void addIprecord(@RequestBody Map<String, String> inParam);

    @RequestMapping(value = "/footprint/addFootprint", method = RequestMethod.POST,  produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    void addFootprint(@RequestBody Map<String, String> inParam);
}
